<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			var map = new Map([
				["name","tom"],
				["age",20],
				["sex","男"]
			]);
			
			// map.forEach(function(value,key,ownMap){
			// 	console.log(value,key,ownMap);
			// })
			
			for(var item of map){
				console.log(item);
			}
			
			var arr = ["tom","marry","scoot"]
			
			for(var name of arr){
				console.log(name);
			}
			
			
		</script>
	</head>
	<body>
	</body>
</html>
